package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.entity.system.SysRole;

import java.util.Collection;
import java.util.Set;

/**
 * 角色业务层
 *
 * @author LiuXiaoYu
 */
public interface ISysRoleService extends IService<SysRole> {

    /**
     * 根据用户id查询权限
     * @param userId
     * @return
     */
   Set<String> selectRolePermissionByUserId(Long userId);
}
